#ifndef _JPOINTER_H_
#define _JPOINTER_H_
#include "JObject.h"
namespace JJc
{

template<typename T>
class JPointer
{
	T* m_p;
public:
	JPointer();
	~JPointer();

	bool operator ==(const JPointer<T>&) const;
	bool operator ==(const T* const) const;

	JPointer<T>& operator = (const JPointer<T>&); 
	JPointer<T>& operator = (T* );
	T* operator ->();
	T&  operator *();

	//JPointer<T>	
};




}

#endif